/**
 * 使用vue插件注册项目中全局组件
 * vue插件语法：{
 *   install(Vue) {
 *    // 注册全局组件、指令、方法、过滤器
 * }
 *
 * }
 */
import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import Uploading from './Uploading'
import ScreenFull from './ScreenFull'
import Lang from './Lang'
export default {
  /**
    *
    * @param {*} Vue 构造函数
    */
  install(Vue) {
    // 注册全局组件语法：Vue.component('组件的标签名', 导入的组件对象)
    Vue.component('PageTools', PageTools)
    // 注册导入excel组件
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('Uploading', Uploading)
    Vue.component('ScreenFull', ScreenFull)
    Vue.component('Lang', Lang)
  }
}
